import request from '@/router/axios';

export const getList = (current, size, params) => {
  return request({
    url: '/api/mes-warehouse/inbound-order/page',
    method: 'get',
    params: {
      ...params,
      current,
      size
    }
  });
};

export const getDetail = (inboundOrderNo) => {
  return request({
    url: '/api/mes-warehouse/inbound/order/detail/page',
    method: 'get',
    params: {
      inboundOrderNo
    }
  });
};
